/**
 * 金额格式化
 */
function changeTwoDecimal(floatvar){
	 var f_x = parseFloat(floatvar);
	 var s_x = 0.00;
     if (!isNaN(f_x)){
    	 var f_x = Math.round(floatvar*100)/100;
	     s_x = f_x.toString();
	     var pos_decimal = s_x.indexOf('.');
	     if (pos_decimal < 0){
		     pos_decimal = s_x.length;
		     s_x += '.';
	     }
	     while (s_x.length <= pos_decimal + 2){
	     	s_x += '0';
	     }
     }
     if(s_x==0.00){
    	 return "";
     }
     return s_x;
}

function changeIntNaN(value){
	if(!(isNaN(value)||value==""||value==0)){
		return value;
	}else{
		return "";
	}
}

function changeNaN(value){
	if(isNaN(value)||value==""){
		return 0.00;
	}else{
		return value;
	}
}